//项目优势页面的定时器

let span1=document.querySelector('.item_cont .item1 span');  //每分钟新增
let span2=document.querySelector('.item_cont .item2 span');  //不足
let span3=document.querySelector('.item_cont .item3 span');  //市场空缺

window.onload=function(){
    // span1.innerHTML=0;
    let span1_num=0;  //0-10
    let span2_num=99;  //99-1
    let span3_num=0;   //0-99

    let pa_timer1=setInterval(function(){
        if(span1_num==10){
            clearInterval(pa_timer1);
        }
        span1.innerHTML=span1_num;
        span1_num++;
    },100);

    let pa_timer2=setInterval(function(){
        if(span2_num==1){
            clearInterval(pa_timer2);
        }
        span2.innerHTML=span2_num;
        span2_num--;
    },15);

    let pa_timer3=setInterval(function(){
        if(span3_num==99){
            clearInterval(pa_timer3);
        }
        span3.innerHTML=span3_num;
        span3_num++;
    },15);

    
    
}
